package com.aspose.cells;

class zbkm extends zcj {
   zbkm(zn var1, float var2, float var3, zbkq var4) {
      super(var1, var2, var3, var4);
   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      com.aspose.cells.b.a.b.a.ze var4 = new com.aspose.cells.b.a.b.a.ze();
      float var3;
      if (this.e.l.a.size() > 0) {
         var3 = Math.min(var1.h(), var1.i()) * com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 21600.0F;
      } else {
         var3 = Math.min(var1.h(), var1.i()) * 0.2F;
      }

      if (var3 <= 0.0F) {
         var4.b(var1);
         var4.i();
         return var4;
      } else {
         float var2 = var3 * 2.0F;
         com.aspose.cells.b.a.b.zt var5 = new com.aspose.cells.b.a.b.zt(var2, var2);
         com.aspose.cells.b.a.b.zq var6 = new com.aspose.cells.b.a.b.zq(var1.d(), var5);
         var4.a(var6, 180.0F, 90.0F);
         var6.a(var1.l() - var2);
         var4.a(var6, 270.0F, 90.0F);
         var6.b(var1.m() - var2);
         var4.a(var6, 0.0F, 90.0F);
         var6.a(var1.j());
         var4.a(var6, 90.0F, 90.0F);
         var4.i();
         return var4;
      }
   }
}
